export const namespace = "brandSetting";

export const calcColumns = (params) => {
  const { operate } = params;
  const columns = [
    {
      title: "ID",
      hidden: process.env.UMI_ENV == "prod" ? true : false,
      width: 180,
      dataIndex: "id",
      hideInSearch: true,
    },
    {
      title: "模版名称",
      dataIndex: "id",
      hideInSearch: true,
    },
    {
      title: "商户号",
      dataIndex: "id",
      hideInSearch: true,
    },
    {
      title: "关联场馆",
      dataIndex: "id",
      hideInSearch: true,
    },
    // {
    //   title: '更新人',
    //   dataIndex: 'id',
    //   hideInSearch: true
    // },
    //{
    //  title: '更新时间',
    //  dataIndex: 'id',
    //  hideInSearch: true
    //},
    {
      title: "状态",
      dataIndex: "id",
      hideInSearch: true,
    },
  ];

  columns.push(operate);
  return columns;
};
